<?php
/* 
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

$tab['internal_ref'] = $this->renderPartial('_form',array('model'=>$models['cargo'],'update'=>false,'invoice'=>$models['invoice']),true);
$tab['subcert'] = $this->renderPartial('subcert/_display', array('model'=>$models['subcert']),true);
$tab['import'] = $this->renderPartial('/import/_formtab', array('model'=>$models['import']),true);

$this->widget('zii.widgets.jui.CJuiTabs', array(
    'tabs'=>array(
        'Delivert No.'=>$tab['internal_ref'],
        'Permit'=>$tab['subcert'],
        'Import'=>$tab['import'],
        // panel 3 contains the content rendered by a partial view

    ),
    // additional javascript options for the tabs plugin
    'options'=>array(
        'collapsible'=>true,
    )));

?>
